<script language="javascript" src="<?php echo JQUERYUI ?>jquery.ui.mouse.min.js"></script>
<script language="javascript" src="<?php echo JQUERYUI ?>jquery.ui.draggable.min.js"></script>
<script language="javascript" src="<?php echo JQUERYUI ?>jquery.ui.position.min.js"></script>
<script language="javascript" src="<?php echo JQUERYUI ?>jquery.ui.resizable.min.js"></script>
<script language="javascript" src="<?php echo JQUERYUI ?>jquery.ui.dialog.min.js"></script>
<script>
    $(document).ready(function() {
		$( ".date" ).datepicker();
		$( ".date" ).datepicker( "option", "dateFormat", "dd-mm-yy");
		
		$( '#jenis_bbm' ).change(function(){
			pilihan=$( '#jenis_bbm' ).val();
			if(pilihan=='cash'){
				$( '.cash' ).show();
				$( '.voucher' ).hide();
			}else{
				$( '.cash' ).hide();
				$( '.voucher' ).show();
			}
		});
</script>
<?php
$data['cur_parent_menu']='setoran';
$data['cur_selected_menu']='setoran_bank';
$this->load->view('template/menu_view',$data);
?>
<br/><br/><br/><br/><br/><br/>
<form method="post" action="<?php echo RESER ?>process_setoran_bank">
    <center>
	<table width="700">
		<tr>
			<td width="230">
				Tanggal :
			</td>
			<td>
				<input class="date" type="text" name="tanggal" value="<?php echo date("m/d/Y");  ?>"/>
			</td>
		</tr>
		<tr>
			<td>
				No. Resi Transfer :
			</td>
			<td>
				<input type="text" name="noresi" value=""/>
			</td>
		</tr>
                <tr>
			<td>
				Nama Kasir :
			</td>
			<td>
				<input type="text" name="nama_kasir" readonly value="<?php echo $this->session->userdata('nama') ?>"/>
			</td>
		</tr>
        <tr>
			<td>
				Setoran :
			</td>
			<td>
				<input type="text" name="total" readonly value="<?php echo $total ?>"/>
                                <?php for($i=0;$i<count($spj_check);$i++){ ?>
				<input type="hidden" name="spj_check[]" readonly value="<?php echo $spj_check[$i] ?>"/>
                                <?php } ?>
			</td>
		</tr>
		<tr>
			<td colspan="2" align="center">
				<input type="submit" value="Buat"/>
			</td>
		</tr>
	</table>
        </center>
</form>